package com.liuyu.common.framework.message.service.facade;

import java.util.Set;

/**
 * 短信手机验号证扩展接口
 * @author: liuyu
 * @date: 2022/3/28 17:01
 * @version: 1
 */
public interface SmsMobileVerifyService {
    /**
     * 验证手机号是否可用
     * @author liuyu
     * @date 2022/3/28 17:05 
     * @param scene
     * @param mobile
     * @return boolean
     */
    boolean verifyMobile(String scene, String mobile);

    /**
     * 批量验证手机号是否可用
     * @author liuyu
     * @date 2022/3/28 17:05 
     * @param scene
     * @param mobiles
     * @return boolean
     */
    boolean verifyMobile(String scene, Set<String> mobiles);
}
